class CreateUsers < ActiveRecord::Migration
  def change
    create_table :users do |t|
      t.string :email
      t.string :name
      t.boolean :subscribe
      t.string :serial_number
      t.belongs_to :user_group, index: true
      t.timestamp :last_sign_in
      t.boolean :email_valid

      t.timestamps
    end
  end
end
